package com.fxy.Service.impl;

import com.fxy.Entity.Notice;
import com.fxy.Service.NoticeService;
import com.fxy.mapper.NoticeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("noticeService")
public class NoticeServiceImpl implements NoticeService {
  @Autowired
  private NoticeMapper noticeMapper;
    @Override
    public List<Notice> list() {
        return noticeMapper.list();
    }
}
